package org.example.coupon.service;

import org.example.coupon.model.CouponDO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.coupon.request.NewUserCouponRequest;
import org.example.enums.CouponCategoryEnum;
import org.example.util.JsonData;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 林道敬
 * @since 2024-04-18
 */
public interface CouponService extends IService<CouponDO> {

    Map<String, Object> pageCouponActivity(int page, int size);

    JsonData addCoupon(long couponId, CouponCategoryEnum couponCategory);

    JsonData initNewUserCoupon(NewUserCouponRequest newUserCouponRequest);
}
